package com.mbti.youmore.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_business
 */
@TableName(value ="t_business")
@Data
public class Business implements Serializable {
    /**
     * 认证id
     */
    @TableId
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 姓名
     */
    private String name;


    /**
     * 电话号码
     */
    private String phone;

    /**
     * 身份证正面图片链接
     */
    private String idCardR;

    /**
     * 身份证背面面图片链接
     */
    private String idCardL;

    /**
     * 是否通过
     */
    private Integer isPass;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Business(Integer userId, String name, String phone, String idCardR, String idCardL, Integer isPass) {
        this.userId = userId;
        this.name = name;
        this.phone = phone;
        this.idCardR = idCardR;
        this.idCardL = idCardL;
        this.isPass = isPass;
    }
}